class inary:
    class source:
        name = "gettext"
        homepage = "https://gitlab.com/sulinos/devel/inary"

        class packager:
            name = "Your Name"
            email = "yourmane@example.org"
        license = "GPLv3"
        isa = []
        summary = "gettext"
        description = "gnu gettext"
        archive = [("e6c0a0cba5b00a604c9118403a8199c77a538526","https://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.tar.gz"),
          ]
        builddependencies = []
        packages = ["package","package_docs" , "package_devel",
                    "package_pages", "package_32bit"]

    class package:
        name = "gettext"
        runtimedependencies = []
        files = [("config", "/etc"),
                 ("localedata", "/usr/share/locale"),
                 ("info", "/usr/share/info"),
                 ("data", "/usr/share"),
                 ("executable", "/usr/bin"),
                 ("library", "/usr/lib"),
                 ("library", "/lib"),
                 ("library", "/usr/libexec"),
                 ("executable", "/bin")]

    class package_docs:
        name = "gettext-docs"
        runtimedependencies = []
        files = [("library", "/usr/share/doc/")]

    class package_pages:
        name = "gettext-pages"
        runtimedependencies = []
        files = [("library", "/usr/share/man/")]

    class package_32bit:
        name = "gettext-32bit"
        buildtype = "emul32"
        runtimedependencies = ["gettext"]
        files = [("library", "/usr/lib32"),
                 ("library", "/lib32")]

    class package_devel:
        name = "gettext-devel"
        runtimedependencies = ["gettext"]
        files = [("data", "/usr/lib/pkgconfig"),
                 ("header", "/usr/include")]

    class history:
        update = [
            ["2022-02-16", "0.21", "First release",
                "Your Name", "yourmane@example.org"],
        ]
